package whf.framework.ext.service;

import java.util.List;

import whf.framework.exception.FindException;
import whf.framework.ext.entity.Category;
import whf.framework.ext.entity.DictItem;

/**
 * @author wanghaifeng
 * @email king@126.com
 * @modify 2006-06-16
 */
public interface DictItemService extends whf.framework.service.Service<DictItem> {
	/**
	 * 通过字典种类查找字典
	 * @param category
	 * @return
	 * @throws FindException
	 */
	public List<DictItem> findByCategory(Category category) throws FindException;

	/**
	 * 通过字典种类查找字典
	 * @param category
	 * @param queryString
	 * @return
	 * @throws FindException
	 */
	public List<DictItem> findByCategory(Category category, String queryString) throws FindException;
} 